Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect name of decoderEnforceMaxRstFramesPerWindow property #2740

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

idelpivnitskiy
Copy link
Member

Motivation:

#2728 introduces 2 properties to control Netty
decoderEnforceMaxRstFramesPerWindow settings:
-Dio.servicetalk.http.netty.http2.decoderEnforceMaxRstFramesPerWindow.maxConsecutiveEmptyFrames=200 -Dio.servicetalk.http.netty.http2.decoderEnforceMaxRstFramesPerWindow.secondsPerWindow=30

The first property was named incorrectly, it must be maxRstFramesPerWindow.

Modifications:

  • Add a new property: -Dio.servicetalk.http.netty.http2.decoderEnforceMaxRstFramesPerWindow.maxRstFramesPerWindow=200;
  • Use previous maxConsecutiveEmptyFrames value as a fallback for backward compatibility;

Result:

Properties names are consistent with their names in Netty.

Motivation:

apple#2728 introduces 2 properties to control Netty
`decoderEnforceMaxRstFramesPerWindow` settings:
`-Dio.servicetalk.http.netty.http2.decoderEnforceMaxRstFramesPerWindow.maxConsecutiveEmptyFrames=200`
`-Dio.servicetalk.http.netty.http2.decoderEnforceMaxRstFramesPerWindow.secondsPerWindow=30`

The first property was named incorrectly, it must be
`maxRstFramesPerWindow`.

Modifications:
- Add a new property:
`-Dio.servicetalk.http.netty.http2.decoderEnforceMaxRstFramesPerWindow.maxRstFramesPerWindow=200`;
- Use previous `maxConsecutiveEmptyFrames` value as a fallback for
backward compatibility;

Result:

Properties names are consistent with their names in Netty.
@idelpivnitskiy idelpivnitskiy requested a review from daschl October 27, 2023 20:21
@idelpivnitskiy idelpivnitskiy self-assigned this Oct 27, 2023
@idelpivnitskiy
Copy link
Member Author

Netty fixed naming in netty/netty#13671

@idelpivnitskiy idelpivnitskiy merged commit 231ec64 into apple:main Oct 30, 2023
15 checks passed
@idelpivnitskiy idelpivnitskiy deleted the netty-prop branch October 30, 2023 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants